print("九九乘法表")
for x in range(1, 10):
    for y in range(1, x+1):
        print('{}x{}={}\t'.format(x, y, x*y), end='')
    print()
# 含左不含右,所以x+1